﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Planisoft.Entities;

namespace Planisoft.DAO
{
    public class InsgresosPdtSunatDAO : MasterDataAcces, IIngresosPdtSunatDAO
    {
        public List<IngresosPdtSunat> GetAllFromIngresosPdtSunat()
        {
            var query = from ing in Context.IngresosPdtSunats
                        orderby ing.DescIngresoSunat
                        select ing;

            return query.ToList();
        }
    }
}
